package com.xbfinal.staservice.client;

import com.xbfinal.commonUtils.Result;
import com.xbfinal.staservice.client.Impl.UcenterClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Title: UcenterClient
 * @Author 笑霸fianl
 * @Package com.xbfinal.staservice.client
 * @Date 2023/3/12 13:33
 * @描述:
 */
@Component
@FeignClient(name = "service-ucenter",fallback = UcenterClientImpl.class )
public interface UcenterClient {

    @GetMapping("/educenter/member/countRegister/{day}")
    Result countRegister(@PathVariable("day") String day);
}
